<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>编制组车站提交</title>
<link href="${css_ctx}/main_style.css" rel="stylesheet" type="text/css" />
</head>

<body class="content_bg1">

<!-- 标题-->	
<div class="content_tittle">
编制组车站提交
</div>
<!--  标题  end-->	

<!-- 提示信息 -->	
<c:if test="${!empty msg}">
	<div class="mag1">提示信息：${msg}</div>
	<c:remove var="msg" scope="session"/>
</c:if>
<!-- 提示信息  end-->	
 
<form action="${ctx }/sworks?cmd=submit" method="post">
<table width="820" border="0" cellspacing="0" cellpadding="0" class="content_input">
  <tr>
    <td height="30" align="center">车站名称:</td>
    <td height="30">${train.tname }</td>
  </tr>
  <tr>
    <td height="30" align="center">当前状态:</td>
    <td height="30">
     <c:if test="${'0' eq train.tstate}">未提交</c:if>
	 <c:if test="${'1' eq train.tstate}">未审核</c:if>
     <c:if test="${'2' eq train.tstate}"><font color="green">已审核</font></c:if>
     <c:if test="${'3' eq train.tstate}"><font color="red">未通过</font></c:if>
    </td>
  </tr>
  <tr>
    <td height="30" align="center">信息提示:</td>
    <td height="30">
            只有本车站的状态为"未提交"和"<font color="red">未通过</font>"状态时才能在此提交！
    </td>
  </tr>
  <tr>
   <c:if test="${'0' eq train.tstate or '3' eq train.tstate}">
    
    <td></td>
    <td height="30">
		<input type="submit" value="提交" onmousedown="return input_che(form1);" class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
    	<input type="button" name="Submit" onclick="javascript:history.back(-1);" value="返回上一页" class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
   	</td>
   </c:if>
   <c:if test="${'1' eq train.tstate or '2' eq train.tstate}">
    <td height="30" align="center" colspan="2"><font color="red">对不起！车站已提交或者已经通过审核，不能再次提交！</font></td>
   </c:if>
  </tr>
</table>
</form>

</body>
</html>
